package com.mtf.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: mtf_order_detail
 * @Author: jeecg-boot
 * @Date:   2024-04-09
 * @Version: V1.0
 */
@Data
@TableName("mtf_order_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mtf_order_detail对象", description="mtf_order_detail")
public class MtfOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private Integer id;
	/**标识*/
	//@Excel(name = "标识", width = 15)
    @ApiModelProperty(value = "标识")
    private String identity;
	/**商品名称*/
	//@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String goodName;
	/**商品编号*/
	//@Excel(name = "商品编号", width = 15)
    @ApiModelProperty(value = "商品编号")
    private String goodCode;
	/**商品数量*/
	//@Excel(name = "商品数量", width = 15)
    @ApiModelProperty(value = "商品数量")
    private Integer goodNum;
	/**订单创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "订单创建时间")
    private Date createTime;
	/**订单创建人id*/
    @ApiModelProperty(value = "订单创建人id")
    private String createBy;
	/**订单创建人*/
	//@Excel(name = "订单创建人", width = 15)
    @ApiModelProperty(value = "订单创建人")
    private String createUsername;
	/**订单修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "订单修改时间")
    private Date updateTime;
	/**订单修改人id*/
    @ApiModelProperty(value = "订单修改人id")
    private String updateBy;
	/**订单修改人*/
	//@Excel(name = "订单修改人", width = 15)
    @ApiModelProperty(value = "订单修改人")
    private String updateUsername;
	/**是否有效 0有效，1无效*/
	//@Excel(name = "是否有效 0有效，1无效", width = 15)
    @ApiModelProperty(value = "是否有效 0有效，1无效")
    private Integer status;
	/**是否删除 0未删除，1已删除*/
	//@Excel(name = "是否删除 0未删除，1已删除", width = 15)
    @ApiModelProperty(value = "是否删除 0未删除，1已删除")
    @TableLogic
    private Integer delFlag;
	/**商品标识*/
	//@Excel(name = "商品标识", width = 15)
    @ApiModelProperty(value = "商品标识")
    private String productIdentity;
}
